package com.yiyang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName bed
 */
@TableName(value ="bed")
@Data
public class Bed implements Serializable {
    /**
     * 床位号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 楼宇ID_房间ID
     */
    private String bRId;

    /**
     * 住户Id
     */
    private Integer userId;

    /**
     * 住户名
     */
    private String userName;

    /**
     * 床位状态
     */
    private String state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}